import Vue from "vue";
import Router from "vue-router";
import AppHome from "@/views/AppHome.vue";
import AppLogin from "@/views/AppLogin.vue";
import AppOrders from "@/views/AppOrders.vue";
import AppProfile from "@/views/AppProfile.vue";
import AppRooms from "@/views/AppRooms.vue";

Vue.use(Router);

export default new Router({
  mode: "history",
  routes: [
    { path: "/", component: AppHome },
    { path: "/login", component: AppLogin },
    {path:"/orders",component:AppOrders},
    {path:"/profile",component:AppProfile},
    {path:"/rooms",component:AppRooms}
  ],
});